<title>基本设置</title>

<div class="layui-card layadmin-header">
  <div class="layui-breadcrumb" lay-filter="breadcrumb">
    <a lay-href="">主页</a>
    <a><cite>系统设置</cite></a>
    <a><cite>基本设置</cite></a>
  </div>
</div>
  
<div class="layui-fluid">
  <div class="layui-row layui-col-space15">
    <div class="layui-col-md12">
      <div class="layui-card">
        <div class="layui-card-header">基本设置</div>
        <div class="layui-card-body" pad15>
          
          <form class="layui-form layui-form-module" lay-filter="J_ajaxForm" action="{:url('/base/index')}" method="post">
          
            <div class="layui-form-item">
              <label class="layui-form-label">默认时区</label>
              <div class="layui-input-inline">
                <select name="timeTimezone" lay-verify="">
                  <option value="8" selected="">(北京时间) 北京、重庆、香港、新加坡</option>
                </select> 
              </div>
              <div class="layui-form-mid layui-word-aux">系统默认时间显示</div>
            </div>
            
            <div class="layui-form-item">
              <label class="layui-form-label">服务器时间校正</label>
              <div class="layui-input-inline">
                <input type="text" name="timeCv" value="{$data.timeCv}" class="layui-input">
              </div>
              <div class="layui-form-mid layui-word-aux">/分钟，如果站点显示时间与服务器时间有差异，可用此功能进行微调</div>
            </div>
            
            <div class="layui-form-item">
              <label class="layui-form-label">后台登录IP限制</label>
              <div class="layui-input-inline">
                <textarea name="ips" placeholder="请输入内容" class="layui-textarea">{$data.ips}</textarea>
              </div>
              <div class="layui-form-mid layui-word-aux">此功能可绑定登录后台的 IP，只有在列表内的 IP 才能登录站点，创始人不受限制。<br>可以绑定单个IP地址格式如:192.0.0.1，也可以绑定一段IP格式如:192.0.0，多个IP "," 分隔。</div>
            </div>

            <div class="layui-form-item">
              <label class="layui-form-label">验证码</label>
              <div class="layui-input-inline">
                <input type="radio" name="captcha" value="1" title="开启" {if $data.captcha eq 1}checked{/if}>
                <input type="radio" name="captcha" value="0" title="关闭" {if $data.captcha eq 0}checked{/if}>
              </div>
              <div class="layui-form-mid layui-word-aux">后台登录验证码</div>
            </div>
            
            <div class="layui-form-item">
              <div class="layui-input-block">
                <button class="layui-btn" lay-submit lay-filter="J_ajax_submit_btn"><i class="layui-icon layui-icon-ok-circle"></i>提交</button>
              </div>
            </div>
          </form>
          
        </div>
      </div>
    </div>
  </div>
</div>

<script>
;!function(){
  var form = layui.form;
  form.render();
}();
</script>